public class Excise6 {
    public static void main(String[] args) {
        int arr[]=new int[7];
        for(int i=0;i<arr.length;i++)
        {
           
              
                int x =(int)( Math.random()*33+1);
                for(int j=0;j<=i;j++)
                {
                    if(x!=arr[j])
                    {
                        arr[i]=x;
                    }
                    else 
                    {
                         x =(int)( Math.random()*33+1);
                        continue;
                    }
                }  
                
                System.out.print(arr[i] +" ");
        }
    }
}